// part1:C14:ex14.42.cpp
//(a)count which value greater than 2014.
count_if(vec.begin(), vec.end(), bind2nd(greater<int>(), 1024));
//(b)find first string, which not equal "pooh".
find_if(vec.begin(), vec.end(), bind2nd(not_equal_to<string>(),
  "pooh");
//(c)multiply two for all value.
transform(vec.begin(), vec.end(), vec.begin(), 
  bind2nd(multiplies<int>,2));